<div class="box box-primary">
    <?php echo form_open('', 'role="form"'); ?>
    <div class="box-body">
        <div class="form-group">
            <label for="resolution_group_name">分辨率分类名称</label>
            <input type="text" class="form-control" id="resolution_group_name" name="resolution_group_name"
                   placeholder="分辨率分类名称"
                   value="<?php echo set_value('resolution_group_name', ($resolution_group ? $resolution_group->resolution_group_name : '')); ?>">
        </div>
        <div class="form-group">
            <label for="resolution_group_sort">排序</label>
            <input type="text" name="resolution_group_sort" class="form-control" id="resolution_group_sort"
                   placeholder="数字越小排在前面"
                   value="<?php echo set_value('resolution_group_sort', ($resolution_group ? $resolution_group->resolution_group_sort : '')); ?>">
        </div>

        <div class="form-group">
            <label for="resolution_group_status">
                <input name="resolution_group_status"
                       id="resolution_group_status" <?php echo set_checkbox('resolution_group_status', 'confirm', ($resolution_group ? ($resolution_group->resolution_group_status ? TRUE : FALSE) : TRUE)) ?>
                       value="confirm"
                       type="checkbox" class="flat-red"> 启用?
            </label>
        </div>


    </div>

    <div class="box-footer">
        <button type="submit" class="btn btn-primary">提交</button>
    </div>
    <?php echo form_close(); ?>
</div>

